Quickstart Guide
The RidgeRun GStreamer Browser Sink documentation from RidgeRun is presently being developed. |
This wiki will show you how to quickly get started with GStreamer Browser Sink.
This guide requires a purchased software license and access to the source code. If you haven't already, go to the Getting the Code page. |
Proceed to Building the Code for a more detailed guide |
Installing Dependencies
Run the following command to make sure all the dependencies are installed:
sudo apt update sudo apt install -y \ libgstreamer1.0-dev \ libsoup-3.0-dev \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-ugly \ gstreamer1.0-libav \ gstreamer1.0-nice \ gstreamer1.0-tools gstreamer1.0-x \ ninja-build build-essential sudo -H pip install meson
Building the Project
Once you have dependencies installed, you can proceed to configure and build the project:
meson builddir ninja -C builddir
Running the Sample
Once you've built the project, you can run the example provided as follows.
1) Run the pipeline
gst-launch-1.0 autovideosrc ! videoconvert ! queue ! \
x264enc speed-preset=ultrafast tune=zerolatency key-int-max=30 ! \
h264parse ! rrbrowsersink serve-path=examples/simple/
2) Navigate to http://127.0.0.1:8888/
You should see the following output in your browser.

If you encounter any errors, ensure that the page has the necessary permissions to access your devices.